<div class="layui-form-item">
    <div class="layui-input-wrap">
        <div class="layui-input-prefix">
            <i class="layui-icon layui-icon-username"></i>
        </div>
        <input type="text"
               name="username"
               lay-verify="username"
               autocomplete="off"
               placeholder="{{ __('enter') }}{{ __('login.username') }}"
               value="{{ keep.username }}"
               class="layui-input"
               lay-affix="clear">
    </div>
</div>
<div class="layui-form-item">
    <div class="layui-input-wrap">
        <div class="layui-input-prefix">
            <i class="layui-icon layui-icon-password"></i>
        </div>
        <input type="password"
               name="password"
               value="{{ keep.password }}"
               lay-verify="password"
               autocomplete="off"
               placeholder="{{ __('enter') }}{{ __('login.password') }}"
               class="layui-input"
               lay-affix="eye">
    </div>
</div>

<div class="layui-form-item">
    <div class="layui-input-wrap verify-box">
        <div class="layui-input-prefix">
            <i class="layui-icon layui-icon-vercode"></i>
        </div>
        <input type="text"
               name="verify"
               value="{% if see_config('debug') %}1234{% endif %}"
               lay-verify="verify"
               placeholder="{{ __('captcha') }}"
               autocomplete="off"
               class="layui-input">
        <img src='{{ auth_route('user/captcha') }}' alt='captcha'
             onclick='this.src="{{ auth_route('user/captcha') }}?v="+Math.random();'>
    </div>
</div>

<div class="layui-form-item">
    <input type="checkbox" name="keep_login" value="1"
           title="{{ __('login.keep_login') }}"
           lay-skin="primary"
            {% if keep %}
    checked
            {% endif %}>
</div>


<div class="layui-form-item login-btn">
    <button type="button" class="layui-btn layui-btn-normal layui-btn-fluid" lay-submit
            lay-filter="submit">
        {{ __('login.btn') }}
    </button>
</div>
